package interfaces.data;

/**
 * Created: 11.10.11
 *
 * @author Martin Štulc (<a href="mailto:martin.stulc@gmail.com">martin.stulc@gmail.com</a>)
 * @version 1.0
 */
public interface IAccount
{
    /**
     * Return a nick of user.
     *
     * @return the nick of user.
     */
    String getNick();

    /**
     * Return a password of user.
     *
     * @return the password of user
     */
    String getPassword();

    /**
     * Return a number of role of user.
     *
     * @return user's role number
     */
    int getRole();

    /**
     * Return a name of role of user.
     *
     * @return the user's role name
     */
    String getRoleName();
}
